package com.wingsoft.homeFlow.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Wingsoft
 * @description 针对表【HOME_FLOW_TASK_LOG(工作流任务日志)】的数据库映射
 */
@Data
@TableName(value = "home_flow_task_log")
public class HomeFlowTaskLog {

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("执行ID")
    private String execId;

    @ApiModelProperty("执行时间")
    private String execTime;

    @ApiModelProperty("任务编码")
    private String taskCode;

    @ApiModelProperty("步骤KEY")
    private String stepCode;

    @ApiModelProperty("是否成功：0-失败；1-成功")
    private Integer successFlag;

    @ApiModelProperty("错误消息")
    private String errorMsg;

    @ApiModelProperty("创建用户ID")
    private Long createUserId;

    @ApiModelProperty("创建时间")
    private Date createTime;

}